package com.bizihang.security.core.validate.code.generator.impl;

import com.bizihang.security.core.properties.SecurityProperties;
import com.bizihang.security.core.validate.code.generator.ValidateCodeGenerator;

/**
 * 短信验证码生成器
 *
 * @author 毕子航 951755883@qq.com
 * @date 2018/08/18
 */
public abstract class AbstractCodeGenerator implements ValidateCodeGenerator {
	/**
	 * 设置安全属性
	 */
	private SecurityProperties securityProperties;

	public void setSecurityProperties(SecurityProperties securityProperties) {
		this.securityProperties = securityProperties;
	}

	public SecurityProperties getSecurityProperties() {
		return securityProperties;
	}
}
